package com.marisfrolg.entity.json;

import java.util.List;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Table;
import com.marisfrolg.entity.EntityBase;
import com.marisfrolg.util.StringUtil;

@Table(name = "binstock")
public class JsonBinStock extends EntityBase{
	@Column(column = "binno")
	private String SOURCEBIN; 
	
	private String IV_LGNUM;
	
	private String DESTBIN;
	
	private List<JsonBinStockItem> ITEMS;

	public String getSOURCEBIN() {
		return SOURCEBIN;
	}

	public String getIV_LGNUM() {
		return IV_LGNUM;
	}

	public String getDESTBIN() {
		return DESTBIN;
	}

	public void setSOURCEBIN(String sOURCEBIN) {
		SOURCEBIN = sOURCEBIN;
	}

	public void setIV_LGNUM(String iV_LGNUM) {
		IV_LGNUM = iV_LGNUM;
	}

	public void setDESTBIN(String dESTBIN) {
		DESTBIN = dESTBIN;
	}

	
	public boolean notFinish(){
		boolean re=StringUtil.isEmpty(SOURCEBIN)||StringUtil.isEmpty(DESTBIN)||StringUtil.isEmpty(IV_LGNUM)||ITEMS==null;
		return re; 
	}

	/**
	 * @return the iTEMS
	 */
	public List<JsonBinStockItem> getITEMS() {
		return ITEMS;
	}

	/**
	 * @param iTEMS the iTEMS to set
	 */
	public void setITEMS(List<JsonBinStockItem> iTEMS) {
		ITEMS = iTEMS;
	}
}
